﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.IO;
using System.Configuration;

namespace DiBang.Common
{
    public class DiBangPrintInfo
    {
        /// <summary>
        /// 车号
        /// </summary>
        public string CheHao
        {
            get;
            set;
        }

        /// <summary>
        /// 品名
        /// </summary>
        public string PinMing
        {
            get;
            set;
        }

        /// <summary>
        /// 称重日期
        /// </summary>
        public string ChengZhongDate
        {
            get;
            set;
        }

        /// <summary>
        /// 称重重量
        /// </summary>
        public string ChengZhong
        {
            get;
            set;
        }

        /// <summary>
        /// 毛重
        /// </summary>
        public string MaoZhong
        {
            get;
            set;
        }

        /// <summary>
        /// 皮重
        /// </summary>
        public string PiZhong
        {
            get;
            set;
        }

        /// <summary>
        /// 容器数量
        /// </summary>
        public string RongQiNum
        {
            get;
            set;
        }

        /// <summary>
        /// 容器重
        /// </summary>
        public string RongQiZhong
        {
            get;
            set;
        }

        /// <summary>
        ///净重
        /// </summary>
        public string JingZhong
        {
            get;
            set;
        }

        /// <summary>
        /// 其他信息
        /// </summary>
        public string ChengZhongOther
        {
            get;
            set;
        }

        /// <summary>
        /// 称重人
        /// </summary>
        public string ChengZhongOwer
        {
            get;
            set;
        }
 
        /// <summary>
        /// 第一张图片路径
        /// </summary>
        public string FromPicPath
        {
            get;
            set;
        }

        /// <summary>
        /// 第二张图片路径
        /// </summary>
        public string ToPicPath
        {
            get;
            set;
        }

        /// <summary>
        /// 天马Log图片的路径
        /// </summary>
        public string TMPicPath
        {
            get;
            set;
        }

        /// <summary>
        /// 图片类型的第一张图片
        /// </summary>
        public string FirstPic
        {
            get;
            set;
        }

        /// <summary>
        /// 图片类型的第二帐图片
        /// </summary>
        public string SecPic
        {
            get;
            set;
        }

        public byte[] FirstByte
        {
            get;
            set;
        }

        public byte[] SecByte
        {
            get;
            set;
        }

        public MemoryStream FirMemo
        {
            get;
            set;
        }

        public MemoryStream SecMemo
        {
            get;
            set;
        }


        /// <summary>
        /// 打印人名字
        /// </summary>
        public string PrintUserName
        {
            get;
            set;
        }

        /// <summary>
        /// 打印人帐号
        /// </summary>
        public string PrintUserID
        {
            get;
            set;
        }

        /// <summary>
        /// 保存部门
        /// </summary>
        private string savedepart;
        public string SavePart
        {
            get { return ConfigurationManager.AppSettings["SaveDepart"].ToString(); }
            set { savedepart = value; }
        }

        /// <summary>
        /// 保存期限
        /// </summary>
        private string saveduedate;
        public string SaveDueDate
        {
            get { return ConfigurationManager.AppSettings["SaveDueDate"].ToString(); }
            set { saveduedate = value; }
        }

        /// <summary>
        /// 用于初始化
        /// </summary>
        public DiBangPrintInfo()
        {

        }
    }
}
